import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
let route = new Router({
  // mode: 'history',
  // base: "/may/",
  routes: [{
    path: '/login',
    default: true,
    name: 'Login',
    meta: {
      name: "登录"
    },
    hideinmenu: true,
    component: () => import('@/views/common/login.vue'),
    children: null
  },{
    path: '/',
    default: true,
    name: 'Dashboard',
    meta: {
      name: "主面板"
    },
    component: () => import('@/views/dashboard'),
    children: null
  }, {
    path: '/setting',
    default: true,
    name: 'Setting',
    meta: {
      name: "设置"
    },
    component: () => import('@/views/setting'),
    children: null
  }]
});
export default route
